home *** CD-ROM | disk | FTP | other *** search
- Path: isonews.bbn.hp.com!hpbblb!news
- From: Matthias Dittrich <matti>
- Newsgroups: comp.lang.c
- Subject: Re: Pattern matching in C
- Date: 26 Feb 1996 07:41:07 GMT
- Organization: Hewlett-Packard Co.
- Message-ID: <4gro6j$2mv@hpbblb.bbn.hp.com>
- References: <4gjo68$jpp@paperboy.ids.net>
- NNTP-Posting-Host: trabant.bbn.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
- X-URL: news:4gjo68$jpp@paperboy.ids.net
-
- scarney@conan.ids.net (scarney) wrote:
- >
- >I'm trying to do some text file pattern matching. Using a simple while
- >loop that has a <data> != <j.random string> in its conditional doesn't
- >work. Depending on different ways of doing it, you get a segmentation
- >fault, random output, or no output.
- >
- It seems you are using a wrong method to compare strings or wrong
- pointers. Please send a piece of code, then we can help you.
-
- Good luck,
- Matthias
-
-